package com.yic.module.device.controller.admin.faulthandle.vo;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 设备报修处理 Excel 导出 Request VO，参数和 FaultHandlePageReqVO 是一致的")
@Data
public class FaultHandleExportReqVO {

    @Schema(description = "报修工单", example = "9510")
    private Long faultId;

    @Schema(description = "故障类型", example = "2")
    private Integer type;

    @Schema(description = "故障等级")
    private Integer grade;

    @Schema(description = "故障原因", example = "不对")
    private String reason;

    @Schema(description = "处理方法")
    private String handleMethod;

    @Schema(description = "处理人")
    private Long handleUser;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
